Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract simulation part of snaps-jest to separate package #2727

Merged
merged 4 commits into from
Sep 17, 2024

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Sep 16, 2024

This extracts all simulation logic from snaps-jest to a new package snaps-simulation (not to be confused with snaps-simulator). This makes it possible to use the simulation framework outside of Jest, for example to run a Snap in any Node.js application. It will also enable removing the simulation framework used by snaps-simulator to reduce code duplication, and improve maintainability.

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.35%. Comparing base (bea39ff) to head (a258527).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2727      +/-   ##
==========================================
- Coverage   94.36%   94.35%   -0.01%     
==========================================
  Files         481      476       -5     
  Lines       10152    10137      -15     
  Branches     1542     1542              
==========================================
- Hits         9580     9565      -15     
  Misses        572      572              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Mrtenz Mrtenz marked this pull request as ready for review September 17, 2024 07:08
@Mrtenz Mrtenz requested a review from a team as a code owner September 17, 2024 07:08
@Mrtenz Mrtenz merged commit a123418 into main Sep 17, 2024
161 of 162 checks passed
@Mrtenz Mrtenz deleted the mrtenz/snaps-simulation-package branch September 17, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants